package com.ambow.service.impl;

import java.util.List;



import com.ambow.Entity.DeliverToTeacher;
import com.ambow.Entity.Stock;
import com.ambow.Entity.TextBook;
import com.ambow.dao.DeliverToTeacherDao;
import com.ambow.dao.impl.DeliverToTeacherDaoImpl;
import com.ambow.service.DeliverToTeacherService;

public class DeliverToTeacherServiceImpl implements DeliverToTeacherService {
	DeliverToTeacherDao dao=new DeliverToTeacherDaoImpl();
	@Override
	public boolean addDeliverToTeacher(DeliverToTeacher deliverToTeacher) {	
		return this.dao.addDeliverToTeacher(deliverToTeacher);
	}


	@Override
	public List<DeliverToTeacher> queryDeliverTeacherbook(String hql, String[] param) {
		return this.dao.queryDeliverTeacherbook(hql, param);
	}

	@Override
	public TextBook queryBookById(Class c, Integer textBook_id) {
		return this.dao.queryBookById(c, textBook_id);
	}


	@Override
	public Stock querybook(String hql, String[] param) {
		// TODO 自动生成的方法存根
		return this.dao.querybook(hql, param);
	}
	

}
